//
//  ServerConfigBean.swift
//  imprint
//
//  Created by 小柠檬🍋 on 2025/3/16.
//

import Foundation
class ServerRequestBean : Codable {
    var isCloud: Bool = true// true为leanCloud false为七牛云下载
    var aiDescribe: String? = nil//ai人设
    var aiSystemRoleList: String? = nil//系统角色列表
    
    func isCloudDescribe() -> Bool {
        if isCloud == true {
            return true
        }
        if (aiDescribe ?? "")?.isEmpty == true {
            return true
        }
        return false
    }
    
    func isCloudAiRole() -> Bool {
        if isCloud == true {
            return true
        }
        if (aiSystemRoleList ?? "")?.isEmpty == true {
            return true
        }
        return false
    }
}

